package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * @author zhujiale
 * @since 2022-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_shipping_address")
public class ShippingAddressDo extends Model<ShippingAddressDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * FBA仓库名字
     */
    @TableField("company_id")
    private Long companyId;

    /**
     * FBA仓库名字
     */
    @TableField("contact")
    private String contact;

    /**
     * FBA仓库地址
     */
    @TableField("company_name")
    private String companyName;

    /**
     * 国家/地区
     */
    @TableField("area_id")
    private Long areaId;

    /**
     * FBA仓库电话
     */
    @TableField("address")
    private String address;

    /**
     * FBA仓库邮编
     */
    @TableField("post_code")
    private String postCode;

    /**
     * FBA仓库电话
     */
    @TableField("tel_phone")
    private String telPhone;

    @TableField("create_by")
    private Long createBy;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_by")
    private Long updateBy;

    @TableField("update_time")
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
